﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="UserModify.aspx.cs" Inherits="IBMS.Page.UserModify" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <title></title>
    <link rel="stylesheet" type="text/css" href="../../Styles/css.css" />
    <script src="../../Scripts/lk.js"></script>
    <script src="../Scripts/jquery-1.8.2.min.js"></script>
    <script src="../Scripts/prefixfree.min.js"></script>
    <script src="../Scripts/index.js"></script>
    <link href="../../Styles/lk.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    .radiobutton1{
        display:grid;
	width:273px;
	height:39px;
	padding-left:10px;
	font-size:14px;
	position:relative;
	top:60px;
	margin:7px;
    }
    </style>
</head>
<body>
    <form id="form1" runat="server">
    <div>
    <div id="Div1" class="register_box"  style="margin-left:170px;margin-top:50px;" runat="server"> <span id="moveright4">用户信息维护</span><br />
        <hr />
        <label for="username1">用户名：</label>
        <asp:TextBox runat="server" ID="username"  placeholder="请输入用户名 " ></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator2" CssClass="vali1" runat="server" ErrorMessage="不能为空" ControlToValidate="username" Display="Dynamic"></asp:RequiredFieldValidator>
        
        <br />

      <%--  <label for="email">旧密码：</label>
        <asp:TextBox runat="server" ID="oldPassword"   placeholder="旧的密码，请确认正确"></asp:TextBox>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator1" 
              ControlToValidate="oldPassword" CssClass="null_notallowed" runat="server" 
              ErrorMessage="真实姓名不能为空" Display="Dynamic"></asp:RequiredFieldValidator>
        <br />--%>

        <label for="pwd">密&nbsp;&nbsp;码：</label>
        <asp:TextBox runat="server" ID="password" TextMode="Password"  placeholder="请输入您的密码"></asp:TextBox>
        <asp:RegularExpressionValidator ID="RegularExpressionValidator2" CssClass="vali1" runat="server" ErrorMessage="<br />长度在6-18之间， 只能包含字符、数字和下划线" ControlToValidate="password" ValidationExpression="^\w{6,18}$" Display="Dynamic"></asp:RegularExpressionValidator>
        <asp:RequiredFieldValidator ID="RequiredFieldValidator3"  CssClass="vali1"
        runat="server" ErrorMessage="不能为空" ControlToValidate="password1"></asp:RequiredFieldValidator>
        <br />

        <label for="pwd2">确认密码：</label>
        <asp:TextBox runat="server" ID="password1" TextMode="Password"  placeholder="请再次确认密码"></asp:TextBox>
        <asp:CompareValidator ID="CompareValidator1" CssClass="vali1" runat="server" ErrorMessage="密码不一致" 
              ControlToCompare="password" ControlToValidate="password1" 
              Display="Dynamic"></asp:CompareValidator>
          <asp:RequiredFieldValidator ID="RequiredFieldValidator4" runat="server" CssClass="vali1" 
              ErrorMessage="不能为空" ControlToValidate="password1" Display="Dynamic"></asp:RequiredFieldValidator>
        <br /> <br />

        <label for="email">用户角色：</label>
        <%--<asp:RadioButton ID="RadioButton1" CssClass="radiobutton1" Text="超级管理员" runat="server" />--%>
        <asp:DropDownList ID="DropDownList1" CssClass="radiobutton1"  runat="server">
            <asp:ListItem Text="超级管理员" Value="SuperAdmin"></asp:ListItem>
            <asp:ListItem Text="授权用户" Value="AuthorizedUser"></asp:ListItem>
            <asp:ListItem Text="审查用户" Value="ExaminationUser"></asp:ListItem>
        </asp:DropDownList>
        <br /> <br />

        <label for="email">所属项目：</label>
        <%--<asp:RadioButton ID="RadioButton1" CssClass="radiobutton1" Text="超级管理员" runat="server" />--%>
        <asp:DropDownList ID="DropDownList2" CssClass="radiobutton1"  runat="server">
            <asp:ListItem Text="超级管理员"></asp:ListItem>
        </asp:DropDownList>
        <br /> 
       
        
        <asp:Button ID="btn_zhuce" runat="server"   Text="保 存 修 改"  CssClass="button1" OnClick="btn_zhuce_Click"/>
        <br />
      </div>
    </div>
    </form>
</body>
</html>
